/*
 * Created on Jun 8, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.jjprojects.earutility;
import javax.swing.*;

import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;

/**
 * @author U678864
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class LoadingDialog implements Runnable 
{
    private JDialog dlgProgressBar = null;
    
    public void run()
    {   
        dlgProgressBar = new JDialog(EARUtility.frmEARUtility, "Comparing Files Please Wait...", false);
        dlgProgressBar.add(new JButton("JESUS"));
        
        dlgProgressBar.setLocationRelativeTo(new JFrame());
        dlgProgressBar.setSize(400, 100);
        dlgProgressBar.setVisible(true);
    }
    
    public void hideProgressBarDialog()
    {
        dlgProgressBar.setVisible(false);
    }

    public static void main(String[] args)
    {
        
    }
}
